package com.leps.nq.op.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 失效记录表
 * </p>
 *
 * @author hex
 * @since 2022-05-22
 */
@Getter
@Setter
@TableName("op_retire")
@ApiModel(value = "OpRetire对象", description = "失效记录表")
public class OpRetire implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("失效记录ID")
    @TableId(value = "retire_id", type = IdType.AUTO)
    private Long retireId;

    @ApiModelProperty("失效时间")
    private Date retireTime;

    @ApiModelProperty("失效位置")
    private String position;

    @ApiModelProperty("失效图片，JSON串格式，如：\"[\"a.jpg\", \"b.jpg\"]\"，前端拿到后需要JSON.parse()才是一个数组")
    private String pic;

    @ApiModelProperty("失效视频1")
    private String video1;

    @ApiModelProperty("失效视频2")
    private String video2;

//    @ApiModelProperty("失效水样PH值")
//    private Double ph;

    @ApiModelProperty("SRB(个/xml)")
    private String srb;
    @ApiModelProperty("TGB(个/xml)")
    private String tgb;
    @ApiModelProperty("FB(个/xml)")
    private String fb;

    @ApiModelProperty("管线地形位置")
    private String piplineTopographicPosition;

    @ApiModelProperty("管线规格")
    private String piplineSpecfication;

    @ApiModelProperty("管线使用时长")
    private String piplineServiceTime;

    @ApiModelProperty("归属场站(平台)ID")
    private Integer stationId;
    //@TableField(fill = FieldFill.INSERT)
    @ApiModelProperty("归属场站(平台)名称")
    private String stationName;

    @ApiModelProperty("归属区块ID")
    private Integer areaId;
    //@TableField(fill = FieldFill.INSERT)
    @ApiModelProperty("归属区块名称")
    private String areaName;

    @ApiModelProperty("归属客户ID")
    private Integer custId;
    //@TableField(fill = FieldFill.INSERT)
    @ApiModelProperty("归属客户名称")
    private String custName;

    @ApiModelProperty("删除标志 (0存在 1删除)")
    @TableLogic
    private Integer delFlag;
    @TableField(fill = FieldFill.INSERT)
    @ApiModelProperty("创建者")
    private String createBy;
    @TableField(fill = FieldFill.INSERT)
    @ApiModelProperty("创建时间")
    private Date createTime;
    @TableField(fill = FieldFill.UPDATE)
    @ApiModelProperty("更新者")
    private String updateBy;
    @TableField(fill = FieldFill.UPDATE)
    @ApiModelProperty("更新时间")
    private Date updateTime;


}
